/**
 * created by lht 2008-9-18
 */

package com.hollycrm.ahunicom.sheet;

public interface IDAO {
	public abstract Object save(Object ob);
	public abstract Object save(Object ob,String str);
	public abstract Object load(Object ob);
	public abstract Object load(Object ob,String str);
	public abstract Object find(Object ob);
	public abstract Object find(Object ob,String str);
	public abstract Object iterate(Object ob);
	public abstract Object iterate(Object ob,String str);
	public abstract Object query(Object ob);
	public abstract Object query(Object ob,String str);
	public abstract Object elseQuery(Object ob);
	public abstract Object elseQuery(Object ob,String str);
	public abstract Object update(Object ob);
	public abstract Object update(Object ob,String str);
	public abstract Object saveorUpdate(Object ob);
	public abstract Object saveorUpdate(Object ob,String str);
	public abstract Object delete(Object ob);
	public abstract Object delete(Object ob,String str);
	public abstract Object doElse(Object ob);
	public abstract Object doElse(Object ob,String str);
}
